<extend file='resource/view/home'/>
<block name="content">
		<article>
			<div class="_head category_title">
				<h2>
						{{$headData['type']}}
						<!--分类：-->
					{{$headData['name']}}
				</h2>
				<span>
					共 {{$headData['total']}} 篇文章
				</span>
			</div>
		</article>
	<foreach from="$articleData" key="$k" value="$v">
		<article>
			<div class="_head">
				<h1>{{$v['title']}}</h1>
				<span>
				作者：
				{{$v['author']}}
				</span>
				•
				<!--pubdate表⽰示发布日期-->
				<time pubdate="pubdate" datetime="{{date('y-m-d',$v['sendtime'])}}">{{date('y-m-d',$v['sendtime'])}}</time>
				•
				分类：
				<a href="">{{$v['cname']}}</a>
			</div>
			<div class="_digest">
			<img src="{{$v['thumb']}}"  class="img-responsive"/>
				<p>
					{{$v['digest']}}
				</p>
			</div>
			<div class="_more">
				<a href="{{u('content.index',['aid'=>$v['aid']])}}" class="btn btn-default">阅读全文</a>
			</div>
			<div class="_footer">
				<i class="glyphicon glyphicon-tags"></i>
				<foreach from="$v['tag']" $key="$kk" $value="$vv">
					<a href="{{u('listpage.index',['tid'=>$vv['tid']])}}">{{$vv['tname']}}</a>
				</foreach>
			</div>
		</article>
	</foreach>
</block>
